package com.agent.platform.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("workflow_node")
public class WorkflowNode {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private String nodeId;
    private String workflowId;
    private String nodeName;
    private String nodeType;
    private String agentType;
    private String config;
    private Integer positionX;
    private Integer positionY;
    
    @TableLogic
    private Integer deleted;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
